#include <iostream>

#include "asio.hpp"

int main() {
  asio::io_context io_ctx;

  asio::steady_timer timer(io_ctx, std::chrono::seconds(1));
  timer.async_wait([](const asio::error_code& error_code) {
    if (!error_code) {
      std::cout << "the timer is over" << std::endl;
    }
  });
  io_ctx.run();

  std::cout << " the program is over "
            << "\n";
  return 0;
}
